package com.lhframework.socket;

import com.lhframework.socket.thread.RealTrackThread;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;

@SpringBootApplication
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})
public class LhSocketSupportApplication {

	@Bean(initMethod = "init")
	public RealTrackThread realTrackThread(){
		return new RealTrackThread();
	}
	public static void main(String[] args) {
		SpringApplication.run(LhSocketSupportApplication.class, args);
	}
}
